package com.example.javasample.service;

import com.example.javasample.domain.TenantDO;

import java.util.List;

/**
 * ITenantService
 *
 * @author Kylin
 */
public interface ITenantService {

    List<TenantDO> list(TenantDO tenant);

    int add(TenantDO tenant);

    int edit(TenantDO tenant);

    int delete(Long tenantId);

    /**
     * 物理删除
     *
     * @param tenantId 租户ID
     */
    int physicallyDelete(Long tenantId);

}
